<template>
  <el-container>
    <el-header style="margin-top: 15px">
      <div class="head-icon">
        <el-button style="border: none;margin-top: 1px">
          <div style="height: 38px;width: 40px;text-align: center" >
            <img src="~@/assets/icons/imageicon/12.png" style="height: 28px;">
            <div style="margin-bottom: 10px">F1入住</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 40px;text-align: center" >
            <img src="~@/assets/icons/imageicon/18.png" style="height: 28px;margin-bottom: 0px">
            <div style="margin-bottom: 10px">F2起钟</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 40px;text-align: center" >
            <img src="~@/assets/icons/imageicon/14.png" style="height: 25px;margin-bottom: 3px">
            <div style="margin-bottom: 10px">F3加钟</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 40px;text-align: center" >
            <img src="~@/assets/icons/imageicon/15.png" style="height: 25px;margin-bottom: 3px">
            <div style="margin-bottom: 10px">F4退钟</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 40px;text-align: center" >
            <img src="~@/assets/icons/imageicon/16.png" style="height: 28px;margin-bottom: 0px">
            <div style="margin-bottom: 10px">F5落钟</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 40px;text-align: center" >
            <img src="~@/assets/icons/imageicon/17.png" style="height: 28px;margin-bottom: 0px">
            <div style="margin-bottom: 10px">F6关房</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 40px;text-align: center" >
            <img src="~@/assets/icons/imageicon/13.png" style="height: 28px;margin-bottom: 0px">
            <div style="margin-bottom: 10px">F7出工</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 40px;text-align: center" >
            <img src="~@/assets/icons/imageicon/19.png" style="height: 28px;margin-bottom: 0px">
            <div style="margin-bottom: 10px">F8换钟</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 67px;text-align: center" >
            <img src="~@/assets/icons/imageicon/20.png" style="height: 28px;margin-bottom: 0px">
            <div>F9计时开房</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 70px;text-align: center" >
            <div><img src="~@/assets/icons/imageicon/21.png" style="height: 28px;margin-left: 3px"></div>
            <div>F10计时退房</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 68px;text-align: center" >
            <div><img src="~@/assets/icons/imageicon/22.png" style="height: 26px;margin-left: 7px;margin-bottom: 2px"></div>
            <div>F11房间预买</div>
          </div>
        </el-button>

        <el-button style="border: none;margin-top: 1px;margin-left: 0px">
          <div style="height: 38px;width: 68px;text-align: center" >
            <div><img src="~@/assets/icons/imageicon/23.png" style="height: 26px;margin-left: 5px;margin-bottom: 2px"></div>
            <div>F12消费查询</div>
          </div>
        </el-button></div>

        <div class="head-biaoqian">
        <el-tag style="height: 60px;width: 120px;line-height: 60px;font-size: 20px">空房</el-tag>
          <el-tag type="success" style="height: 60px;width: 120px;margin-left: 5px;line-height: 60px;font-size: 20px">
            计时房3间</el-tag>
        <el-tag type="info" style="height: 60px;width: 120px;margin-left: 5px;line-height: 60px;font-size: 20px">按摩房2间
        </el-tag>
        <el-tag type="warning" style="height: 60px;width: 120px;margin-left: 5px;line-height: 60px;font-size: 20px">留房1间
        </el-tag>
        <el-tag type="danger" style="height: 60px;width: 120px;margin-left: 5px;line-height: 60px;font-size: 20px">待客房2间
        </el-tag>
          <el-tag style="height: 60px;width: 120px;margin-left: 5px;line-height: 60px;font-size: 20px">落钟</el-tag>

      </div>
    </el-header>
    <el-container>
      <el-aside>
        <div class="house">
          <el-tabs type="border-card" class="biaoqian" style="text-align: center" >
            <el-tab-pane><span slot="label" style="color: #5a5e66;font-size: 15px;line-height: 5px">标准间</span>
              <div class="biaozhunpage">
              <el-row class="first-row" style="margin-top: 5px">
                <el-button type="primary" plain style="height: 90px;width: 90px">
                  <div>8030</div>
                  <div>标准间</div>
                </el-button>
                <el-button type="primary" plain style="height: 90px;width: 90px">
                  <div>8031</div>
                  <div>标准间</div>
                </el-button>
                <el-button type="primary" plain style="height: 90px;width: 90px">
                  <div>8032</div>
                  <div>标准间</div>
                </el-button>
                <el-button type="danger" plain style="height: 90px;width: 90px">
                  <div>8033</div>
                  <div>标准间</div>

                </el-button>
                <el-button type="primary" plain style="height: 90px;width:90px">
                  <div>8035</div>
                  <div>标准间</div>
                </el-button>
              </el-row>
              <el-row class="first-row" style="margin-top: 5px">
                <el-button type="primary" plain style="height: 90px;width: 90px">
                  <div>8030</div>
                  <div>标准间</div>
                </el-button>
                <el-button type="success" plain style="height: 90px;width: 90px">
                  <div>8031</div>
                  <div>标准间</div>
                </el-button>
                <el-button type="primary" plain style="height: 90px;width: 90px">
                  <div>8032</div>
                  <div>标准间</div>
                </el-button>
                <el-button type="danger" plain style="height: 90px;width: 90px">
                  <div>8033</div>
                  <div>标准间</div>

                </el-button>
                <el-button type="primary" plain style="height: 90px;width:90px">
                  <div>8035</div>
                  <div>标准间</div>
                </el-button>
              </el-row>
                <el-row class="first-row" style="margin-top: 5px">
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8030</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8031</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="success" plain style="height: 90px;width: 90px">
                    <div>8032</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="danger" plain style="height: 90px;width: 90px">
                    <div>8033</div>
                    <div>标准间</div>

                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width:90px">
                    <div>8035</div>
                    <div>标准间</div>
                  </el-button>
                </el-row>
                <el-row class="first-row" style="margin-top: 5px">
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8030</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="success" plain style="height: 90px;width: 90px">
                    <div>8031</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8032</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="danger" plain style="height: 90px;width: 90px">
                    <div>8033</div>
                    <div>标准间</div>

                  </el-button>
                  <el-button type="success" plain style="height: 90px;width:90px">
                    <div>8035</div>
                    <div>标准间</div>
                  </el-button>
                </el-row>
                <el-row class="first-row" style="margin-top: 5px">
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8030</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8031</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8032</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="danger" plain style="height: 90px;width: 90px">
                    <div>8033</div>
                    <div>标准间</div>

                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width:90px">
                    <div>8035</div>
                    <div>标准间</div>
                  </el-button>
                </el-row>
                <el-row class="first-row" style="margin-top: 5px">
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8030</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8031</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="success" plain style="height: 90px;width: 90px">
                    <div>8032</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="danger" plain style="height: 90px;width: 90px">
                    <div>8033</div>
                    <div>标准间</div>

                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width:90px">
                    <div>8035</div>
                    <div>标准间</div>
                  </el-button>
                </el-row>
                <el-row class="first-row" style="margin-top: 5px">
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8030</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8031</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8032</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="danger" plain style="height: 90px;width: 90px">
                    <div>8033</div>
                    <div>标准间</div>

                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width:90px">
                    <div>8035</div>
                    <div>标准间</div>
                  </el-button>
                </el-row>
                <el-row class="first-row" style="margin-top: 5px">
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8030</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="success" plain style="height: 90px;width: 90px">
                    <div>8031</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width: 90px">
                    <div>8032</div>
                    <div>标准间</div>
                  </el-button>
                  <el-button type="danger" plain style="height: 90px;width: 90px">
                    <div>8033</div>
                    <div>标准间</div>

                  </el-button>
                  <el-button type="primary" plain style="height: 90px;width:90px">
                    <div>8035</div>
                    <div>标准间</div>
                  </el-button>
                </el-row>

              </div>

            </el-tab-pane>
            <el-tab-pane><span slot="label" style="color: #5a5e66;font-size: 15px;line-height: 5px">计时房</span>配置管理</el-tab-pane>
            <el-tab-pane><span slot="label" style="color: #5a5e66;font-size: 15px;line-height: 5px">按摩房</span>角色管理</el-tab-pane>
            <el-tab-pane><span slot="label" style="color: #5a5e66;font-size: 15px;line-height: 5px">待客房</span>定时任务补偿</el-tab-pane>
            <el-tab-pane><span slot="label" style="color: #5a5e66;font-size: 15px;line-height: 5px">留房</span>定时任务补偿</el-tab-pane>
            <el-tab-pane><span slot="label" style="color: #5a5e66;font-size: 15px;line-height: 5px">落钟房</span>定时任务补偿</el-tab-pane>
          </el-tabs>
        </div>

      </el-aside>
      <el-main>
        <div class="main-head">
          <div class="main-head-left">
            <el-divider><span style="font-size: 20px">客房实时信息</span></el-divider>
            <div class="main-head-left-down" style="margin-left: 15px">
              <el-descriptions>
                <el-descriptions-item label="客房类型"><span style="color:red;font-size: 15px">标准间</span></el-descriptions-item>
                <el-descriptions-item label="房间号">8030</el-descriptions-item>
              </el-descriptions>
              <el-descriptions direction="vertical">
                <el-descriptions-item label="客房状态">
                  <el-steps :space="200" :active="1" finish-status="success" style="width: 600px;margin-left: 10px">
                  <el-step title="空房"></el-step>
                  <el-step title="已退房"></el-step>
                  <el-step title="打扫中"></el-step>
                </el-steps>
                </el-descriptions-item>
              </el-descriptions>
              <el-descriptions>
                <el-descriptions-item label="客房消费记录">
                  <div style="text-align: center">
                    <span style="color: blue">13.养生足道</span><span>（手牌号：<span style="color: red">8800</span>  时间：<span style="color: red">16:40:55</span>）</span><br>
                    <span style="color: blue">13.养生足道</span><span>（手牌号：<span style="color: red">8800</span>  时间：<span style="color: red">16:40:55</span>）</span><br>
                    <span style="color: blue">13.养生足道</span><span>（手牌号：<span style="color: red">8800</span>  时间：<span style="color: red">16:40:55</span>）</span><br>
                    <span style="color: blue">13.养生足道</span><span>（手牌号：<span style="color: red">8800</span>  时间：<span style="color: red">16:40:55</span>）</span><br>
                  </div>
                </el-descriptions-item>
              </el-descriptions>


            </div>

          </div>
          <div class="main-head-right">
            <el-divider><span style="font-size: 20px">信息搜索</span></el-divider>
            <div class="main-head-right-middle">
              <el-form :inline="true" :model="formInline" class="demo-form-inline" style="text-align: center">
                <span style="margin-left: 0px">手牌号:</span>
                  <el-input v-model="formInline.user" placeholder="手牌号" style="width: 150px"></el-input>
                <span style="margin-left: 30px">技工号:</span>
                <el-input v-model="formInline.user" placeholder="技工号" style="width: 150px;margin-right: 25px"></el-input>
              </el-form>
            </div>
            <div class="main-head-right-down" style="margin-top: 30px;margin-left: 10px">
              <el-button style="border: none;background-color: #FFFFFF;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);margin-top: 1px">
                <div style="height: 38px;width: 60px;text-align: center" >
                  <img src="~@/assets/icons/imageicon/13.png" style="height: 28px;">
                  <div style="margin-bottom: 10px;font-size: 15px">查出工</div>
                </div>
              </el-button>

              <el-button style="border: none;background-color: #FFFFFF;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);margin-top: 1px">
                <div style="height: 38px;width: 60px;text-align: center" >
                  <img src="~@/assets/icons/imageicon/24.png" style="height: 28px;">
                  <div style="margin-bottom: 10px;font-size: 15px">查钟</div>
                </div>
              </el-button>

              <el-button style="border: none;background-color: #FFFFFF;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);margin-top: 1px">
                <div style="height: 38px;width: 60px;text-align: center" >
                  <img src="~@/assets/icons/imageicon/25.png" style="height: 28px;">
                  <div style="margin-bottom: 10px;font-size: 15px">技师预约</div>
                </div>
              </el-button>

              <el-button style="border: none;background-color: #FFFFFF;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);margin-top: 1px">
                <div style="height: 38px;width: 60px;text-align: center" >
                  <img src="~@/assets/icons/imageicon/26.png" style="height: 28px;">
                  <div style="margin-bottom: 10px;font-size: 15px">数据更新</div>
                </div>
              </el-button>

              <el-button style="border: none;background-color: #FFFFFF;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);margin-top: 1px">
                <div style="height: 38px;width: 60px;text-align: center" >
                  <img src="~@/assets/icons/imageicon/27.png" style="height: 28px;">
                  <div style="margin-bottom: 10px;font-size: 15px">设置</div>
                </div>
              </el-button>

              <el-button style="border: none;background-color: #FFFFFF;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);margin-top: 10px">
                <div style="height: 38px;width: 60px;text-align: center" >
                  <img src="~@/assets/icons/imageicon/28.png" style="height: 28px;">
                  <div style="margin-bottom: 10px;font-size: 15px">状态</div>
                </div>
              </el-button>

              <el-button style="border: none;background-color: #FFFFFF;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);margin-top: 1px">
                <div style="height: 38px;width: 60px;text-align: center" >
                  <img src="~@/assets/icons/imageicon/29.png" style="height: 28px;">
                  <div style="margin-bottom: 10px;font-size: 15px">锁定解除</div>
                </div>
              </el-button>

            </div>
          </div>
        </div>
        <div class="main-down">
          <el-table
            :data="tableData"
            height="400"
            border
            style="width: 100%"
            class="main-down-table">
            <el-table-column
              prop="date"
              label="日期"
              width="180">
            </el-table-column>
            <el-table-column
              prop="name"
              label="姓名"
              width="180">
            </el-table-column>
            <el-table-column
              prop="address"
              label="地址">
            </el-table-column>
            <el-table-column
              prop="address"
              label="地址">
            </el-table-column>
            <el-table-column
              prop="address"
              label="地址">
            </el-table-column>
          </el-table>
        </div>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
export default {
  name: "HorseOrder",
  data() {
    return {
      tableData: [{
        date: '2016-05-03',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      },{
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-04',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-01',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-08',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-06',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-07',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }],
      formInline: {
        user: '',
        region: ''

      }
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!');
    }
  }
}
</script>

<style>
.button1{
  background-color: #ebd4ef;
  border: #9c26b0;
}
.button1:hover{
  background: #e1d7f0 !important;
}
.el-header{
  background-color: #FFFFFF;
  color: #333;
  margin-left: 10px;
  margin-right: 10px;
}
.head-icon{
  float: left;
  margin-top: 0px;
}
.head-biaoqian{
  text-align: center;
  margin-top: 1px;

}
.el-aside {
  background-color: #E9EEF3;
  color: #333;
  min-width: 600px;
  text-align: center;
  margin-top: 5px;
  height: 765px;
  margin-left: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}

.house{
  background-color: #9c26b0;
  max-width: 600px;
  margin-top: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}
.biaoqian{
  height: 740px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
  overflow-y: auto ;
  overflow-x: hidden;
}
.biaozhunpage{
  overflow-y: auto ;
  overflow-x: hidden;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  width: 800px;
  height: 765px;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}
.main-head{
  height: 300px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}
.main-head-left{
  height: 300px;
  width: 500px;
  float: left;
  margin-right: 5px;
  background-color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}
.main-head-right{
  height: 300px;
  width: 540px;
  float: right;
  background-color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}
.main-down{
  height: 425px;
  width: 1055px;
  margin-top: 10px;
  background-color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}
.main-down-table{
  height: 425px;
  width: 1055px;
  margin-top: 10px;
  background-color: #FFFFFF;
  border-radius: 4px;
}
::-webkit-scrollbar{
  width: 0!important;
}
::-webkit-scrollbar {
  width: 0 !important;
  height: 0;
}
</style>
